//
//  ZMYBookInfoHeadCollectionReusableView.m
//  奇阅
//
//  Created by 奇阅科技 on 14-11-5.
//  Copyright (c) 2014年 奇阅科技. All rights reserved.
//

#import "ZMYBookInfoHeadCollectionReusableView.h"

@implementation ZMYBookInfoHeadCollectionReusableView

- (IBAction)showAllClick:(id)sender {
    if (self.headShowAll) {
        self.headShowAll();
    }
}
- (IBAction)showCatalogue:(UIButton *)sender {
    if (self.headShowCatalogue) {
        self.headShowCatalogue();
    }
}
- (IBAction)showRecommended:(UIButton *)sender {
    if (self.headShowAnotherRecommended) {
        self.headShowAnotherRecommended();
    }
}
- (void)showAll:(void(^)(void))showAll{
    self.headShowAll = showAll;
}
- (void)showBookCatalogue:(void(^)(void))showCatalogue{
    self.headShowCatalogue = showCatalogue;
}
- (void)showAnotherRecommended:(void(^)(void))showAnotherRecommended{
    self.headShowAnotherRecommended = showAnotherRecommended;
}
@end
